import QtQuick 2.4
import QtQuick.Controls 1.3
import QtQuick.Layouts 1.1

Item {
    width: 800
    height: 480
    property alias viewField: viewField
    property alias showInf: showInf
    property alias cross: cross
    property alias videoRecordState: videoRecordState
    property alias workMode: workMode
    property alias softVersion: softVersion
    property alias outMode: outMode
    property alias contrast: contrast
    property alias camFocus: camFocus
    property alias camGain: camGain
    visible: true

    ColumnLayout {
        x: 552
        y: 110
        width: 100
        height: 200
        spacing: 10

        RowLayout {
            width: 10
            height: 31
            spacing: 1
            transformOrigin: Item.Center
            visible: true
            Text {
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("相机增益:")
                font.family: "Arial"
                font.pixelSize: 20
            }

            Text {
                id: camGain
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("20")
                font.pixelSize: 20
            }
        }

        RowLayout {
            width: 10
            height: 31
            Text {
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("相机焦距:")
                font.pixelSize: 20
            }

            Text {
                id: camFocus
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("73")
                font.pixelSize: 20
            }
            transformOrigin: Item.Center
            spacing: 1
            visible: false
        }

        RowLayout {
            width: 10
            height: 31
            Text {
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("视场角:")
                font.pixelSize: 20
            }

            Text {
                id: viewField
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("10.5")
                font.pixelSize: 20
            }
            spacing: 1
            transformOrigin: Item.Center
            visible: true
        }

        RowLayout {
            width: 10
            height: 31
            Text {
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("对比度:")
                font.pixelSize: 20
            }

            Text {
                id: contrast
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("73")
                font.pixelSize: 20
            }
            transformOrigin: Item.Center
            spacing: 1
            visible: true
        }

        RowLayout {
            width: 10
            height: 31
            Text {
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("图像输出模式:")
                font.pixelSize: 20
            }

            Text {
                id: outMode
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("图像输出")
                font.pixelSize: 20
            }
            transformOrigin: Item.Center
            spacing: 1
            visible: true
        }

        RowLayout {
            width: 10
            height: 31
            Text {
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("工作模式:")
                font.pixelSize: 20
            }

            Text {
                id: workMode
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("待机")
                font.pixelSize: 20
            }
            transformOrigin: Item.Center
            spacing: 1
            visible: false
        }

        RowLayout {
            width: 10
            height: 31
            Text {
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("视频录制状态:")
                font.pixelSize: 20
            }

            Text {
                id: videoRecordState
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("停止录制")
                font.pixelSize: 20
            }
            transformOrigin: Item.Center
            spacing: 1
            visible: false
        }

        RowLayout {
            width: 10
            height: 31
            Text {
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("软件版本:")
                font.pixelSize: 20
            }

            Text {
                id: softVersion
                width: 120
                height: 31
                color: "#f40202"
                text: qsTr("1.23")
                font.pixelSize: 20
            }
            transformOrigin: Item.Center
            spacing: 1
            visible: false
        }


    }

    Text {
        id: cross
        x: 355
        y: 208
        width: 43
        height: 64
        color: "#ff0000"
        text: qsTr("+")
        font.pixelSize: 300
        visible: false
        fontSizeMode: Text.VerticalFit
    }

    Text {
        id: showInf
        x: 47
        y: 52
        width: 278
        height: 113
        color: "#f40202"
        text: qsTr("Target number: 0")
        font.family: "Times New Roman"
        wrapMode: Text.Wrap
        font.pixelSize: 20
    }
}
